﻿using System;
//
namespace PerceptiveMCAPI.Types
{
   /// <summary>
   /// An abuse report for this email list. 
   /// </summary>
   public class listAbuseReportsResults
   {
      /// <summary>
      /// The date/time the abuse report was received and processed
      /// </summary>
      public DateTime date { get; set; }

      /// <summary>
      /// the email address that reported abuse
      /// </summary>
      public string email { get; set; }

      /// <summary>
      /// the unique id for the campaign that the report was made against
      /// </summary>
      public string campaign_id { get; set; }

      /// <summary>
      /// an internal type generally specifying the orginating mail provider - may not be useful outside of filling report views
      /// </summary>
      public string type { get; set; }
      // ------------------------------------------------
      public listAbuseReportsResults()
      {
         date = DateTime.MinValue;
      }
      // ------------------------------------------------
      public override string ToString()
      {
         return string.Format( "date: {0}, email: {1}, campaign_id: {2}",
             date, email, campaign_id );
      }
   }
}
